<section id="content" class="container_12 clearfix" data-sort=true>
    <h1 class="grid_12">Dynamic Tables (DataTables)</h1>

    <div class="grid_12">
        <div class="box">

            <div class="header">
                <h2>Dynamic Table (Sortable)</h2>
            </div>

            <div class="content">

                <table class="dynamic styled" data-filter-Bar="always" data-table-tools='{"display":false}'> <!-- OPTIONAL: class=with-prev-next -->
                    <thead>
                        <tr>
                            <th>No.</th>
                            <th>Nombre</th>
                            <th>Telefono</th>
                            <th>Celular</th>                            
                            <th>Acciones</th>
                        </tr>
                    </thead>
                    <tbody>                        
                        <?php //$i = 1; ?>
                        <?php $i = 1; ?>
                        <?php foreach ($clientes as $cli): ?>
                            <tr>
                                <?php //if ($cli['Cliente']['id'] != 1): ?>
                                    <td><?php echo $i; $i++; ?></td>
                                    <td><?php echo $cli['Cliente']['nombre']; ?></td>
                                    <td><?php echo $cli['Cliente']['telefono']; ?></td>
                                    <td><?php echo $cli['Cliente']['celular']; ?></td>                                    
                                    <td style="font-size:10px;">
                                        <?php echo $this->Html->link('EDITAR', array('action' => 'editar', $cli['Cliente']['id']), array('class' => 'inner_a')); ?>&nbsp;
                                        <?php echo $this->Html->link('ELIMINAR', array('action' => 'eliminar', $cli['Cliente']['id']), array('class' => 'inner_a'), ('Desea realmente eliminar?')); ?>                        
                                    </td>
                                </tr>
                            <?php //endif; ?>  
                        <?php endforeach; ?>
                        </tr>                        
                    </tbody>
                </table>

            </div><!-- End of .content -->

        </div><!-- End of .box -->
    </div><!-- End of .grid_12 -->      
</section><!-- End of #content -->